services.tahoe.nodes.<name>.tub.port

The port on which the tub will listen.

This is the correct setting to tweak if you want Tahoe's storage system to listen on a different port.

Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
3457
Declared
<nixpkgs/nixos/modules/services/network-filesystems/tahoe.nix>